package com.ict.web.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Value;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ExtractExpertEditDto {

    /** 抽取表id */
    @ApiModelProperty(value = "抽取表id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long extractExpertId;

    /** 职业道德评分 */
    @ApiModelProperty(value = "职业道德评分")
    @NotBlank(message = "职业道德评分不能为空")
    private String professionalScore;

    /** 工资态度评分 */
    @ApiModelProperty(value = "工资态度评分")
    @NotBlank(message = "工资态度评分不能为空")
    private String workScore;

    /** 业务水平评分 */
    @ApiModelProperty(value = "业务水平评分")
    @NotBlank(message = "业务水平评分不能为空")
    private String businessScore;

    /** 总分 */
    @ApiModelProperty(value = "总分")
    @NotBlank(message = "总分不能为空")
    private String totalScore;

    /** 评价描述 */
    @ApiModelProperty(value = "评价描述")
    @NotBlank(message = "评价描述不能为空")
    private String appraiseDesc;
}
